package com.fh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
@author huangp
@create 2021-04-07 20:08
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "house_contract")
public class Contract implements Serializable {
    /**
     * 合同id     合同协议书管理表
     */
    @TableId(value = "contract_id", type = IdType.AUTO)
    private Integer contractId;

    /**
     * 合同名称
     */
    @TableField(value = "contract_name")
    private String contractName;

    /**
     * 日期
     */
    @TableField(value = "contract_date")
    private Date contractDate;

    private static final long serialVersionUID = 1L;
}